package com.ruoyi.project.abucoder.point.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户次数对象 user_point
 * 
 * @author wuyy
 * @date 2024-04-28
 */
public class UserPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 微信id */
    @Excel(name = "微信id")
    private String openid;

    /** 今日次数 */
    @Excel(name = "今日次数")
    private Long nowPoint;

    /** 最近保底次数 */
    @Excel(name = "最近保底次数")
    private Long guaranteed;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setNowPoint(Long nowPoint)
    {
        this.nowPoint = nowPoint;
    }

    public Long getNowPoint()
    {
        return nowPoint;
    }
    public void setGuaranteed(Long guaranteed)
    {
        this.guaranteed = guaranteed;
    }

    public Long getGuaranteed()
    {
        return guaranteed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("nowPoint", getNowPoint())
            .append("guaranteed", getGuaranteed())
            .toString();
    }
}
